<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./lib/vue-2.5.9.js"></script>
    <style>
        [v-cloak] {
            display: none;
        }
    </style>
</head>

<body>
<div id="app">
    <p v-cloak>{{msg}}</p>
    <p>{{msg2?'这是ok':'这是no'}}</p>
    <p v-text="msg"></p>
</div>
<script>
    const vm = new Vue({
        el: "#app",
        data: {
            msg: '这是使用Vue渲染的数据',
            msg2: true
        }
    })
</script>
</body>
</html>